package com.kangtushizhe.emuns;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
@Schema(description = "用户角色DTO")
public class RoleDTO implements Serializable {
    //UserRole
    @Schema(name = "用户id")
    private Integer userId;
    @Schema(name = "角色id")
    private Integer roleId;

    //Role
    private Integer id;
    private String name;
    private String remark;
}
